package lab02.test29;

public class Test29 {
    public static void main(String[] args) {
        int[] arr=new int[3];
        try {
            System.out.println(arr[3]);
        }
        catch (ArrayIndexOutOfBoundsException a){
            System.out.println("error=="+a);
            System.out.println("数组越界");
        }
        finally {
            System.out.println("finally语句得到执行");
        }
    }
}
